define(['plugins/router'], function (router) {
	// root shell:app-cms/shell
    return {
        router: router,
        activate: function (...rest) {
        	debugger;
            console.log(rest);
            router.makeRoutesCaseSensitive();//路由开启大小写敏感
            return router.map([
                { route: ['','doc*splat'],moduleId: 'app-cms/doc/shell',title: '文档',nav: true,hash:'#doc'},
                { route: 'system*splat',moduleId: 'app-cms/system/shell',title: '系统管理',nav: true ,hash:'#system'},
                { route: 'product*splat',moduleId: 'app-cms/product/shell',title: '产品列表',nav: true,hash:'#product'}
            ]).buildNavigationModel()
              .mapUnknownRoutes('404/index', 'not-found')
            .activate();
        }
    };
});